<template>
  <div>
    <h1>Home</h1>
    <a-radio-group>
      <a-radio-button v-action:add>add</a-radio-button>
      <a-radio-button v-action:delete>delete</a-radio-button>
      <a-radio-button v-action:edit>edit</a-radio-button>
    </a-radio-group>
    <a-tabs>
      <a-tab-pane v-if="$auth('home.add')" tab="新增">
        拥有新增权限
      </a-tab-pane>
      <a-tab-pane v-if="$auth('home.delete')" tab="删除">
        拥有删除权限
      </a-tab-pane>
      <a-tab-pane v-if="$auth('home.edit')" tab="修改">
        拥有修改权限
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
</style>
